﻿using UnityEngine;
using System.Collections;

public class CameraPos : MonoBehaviour 
{
	public Transform Player;
	public float X;
	public float Y;

	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
		transform.position = new Vector3(Player.transform.position.x + X,Player.transform.position.y + Y, -10);

	}
}
